﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shop.Model
{
    /// <summary> 特殊运费 </summary>
    public class SpecialPost
    {
        [Column(IsIdentity = true, IsPrimary = true)]
        public int id { set; get; }

        public DateTime? BeginDate { set; get; }

        public DateTime? EndDate { set; get; }


        /// <summary> 物流公司 </summary>
        [Column(StringLength =200)]
        public string logistics_name { set; get; }

        

        /// <summary> 仓库 </summary>
        [Column(StringLength = 100)]
        public string Stock { set; get; }

        /// <summary> 商家编码 </summary>
        [Column(StringLength = 100)]
        public string spec_no { set; get;}


        [Column(Precision =18, Scale =4)]
        public decimal PostPrice { set; get; }  

        public DateTime FTime {  set; get; }


        [Column(StringLength =30)]
        public string FUser { get; set; }

        public bool isdel {  set; get; }


        public SpecialPost Clone()
        {
            return this.MemberwiseClone() as SpecialPost;
        }

    }
}
